[elasticsearch] add value to disable tests#1116
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
💚 CLA has been signed |
c840c9d to
04c3a5b
Compare
jmlrt
left a comment
There was a problem hiding this comment.
Thanks for this PR, can you update the README with this new value?
04c3a5b to
a6490b8
Compare
Signed-off-by: nflaig <nflaig@protonmail.com>
a6490b8 to
3a87fe8
Compare
|
@jmlrt Thanks again for the review! I updated the README with the new value |
|
@jmlrt any update on this? Let me know if I should apply further changes |
jmlrt
left a comment
There was a problem hiding this comment.
Fixed the conflict. Change LGTM. As a minor improvement, I think it could be great to also add a {{- if .Values.tests.enabled -}} condition to not print test command when the test is disabled.
helm-charts/elasticsearch/templates/NOTES.txt
Lines 3 to 4 in 0e5a168
… is disabled Signed-off-by: nflaig <nflaig@protonmail.com>
|
jenkins test this please |
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* [elasticsearch] add value to disable tests Signed-off-by: nflaig <nflaig@protonmail.com> * [elasticsearch] add condition to not print test command when the test is disabled Signed-off-by: nflaig <nflaig@protonmail.com> Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
It should be possible to disable the tests of the chart. This is especially important if the chart is used as a subchart which means the test are also executed if you run
helm test. For some users it might not be desirable to run the test provided by the elastic helm chart, the value gives the user of the chart the option to configure this.${CHART}/tests/*.py${CHART}/examples/*/test/goss.yaml